# coding=utf-8
import pygame, sys
from pygame.locals import *

stageMatrix = []#represent the stage state, 
                #0 for empty, 1 for active brick, 2 for wall
brickList = []#represent the available types of brick
brickTypeCount=0#How many types of bricks?
title_pic = ""
stage_pic = ""

def InitializeGame():
    pygame.init()

def InitializeStage(stageMatrix, height = 20, width = 10):
    row = column = 0
    currentRow = []
    while row < height:
        while column < width:
            currentRow.append(0)
            column += 1
        stageMatrix.append(currentRow)
        row += 1

if __name__ == "__main__":
    InitializeGame()
    InitializeStage(stageMatrix)
    
    #Main Loop of the Game
    while True:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                pygame.quit()
                sys.exit()
#    print 'Length of stageMatrix: ', len(stageMatrix)
#    print 'Width of stageMatrix: ', len(stageMatrix[0])
#    print stageMatrix